package cn.bsuc.infirmary.domain;


import cn.bsuc.infirmary.util.JSONUtil;
import lombok.Getter;
import lombok.Setter;

import java.util.HashMap;

/**
 * 字典管理
 */
@Setter
@Getter
public class Systemdictionary extends Basedomain {

    private String sn;

    private String title;

    private String intro;

    public String getJson() {
        HashMap<String, Object> map = new HashMap<>();
        map.put("id", id);
        map.put("title", title);
        map.put("sn", sn);
        map.put("intro", intro);
        return JSONUtil.toJSONString(map);
    }
}